package com.hbk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hbk.entity.NewsAttachment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsAttachmentMapper extends BaseMapper<NewsAttachment> {

    List<NewsAttachment> listByContentId(@Param("contentId")String contentId);

    void deleteByContentId(@Param("contentId")String contentId);
}
